package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Sports;
import com.itheima.pojo.Sports;

import java.util.List;

public interface SportsService {
    void add(List<Sports> list);
    PageResult findAll(QueryPageBean queryPageBean);

    void addSports(Sports sports);

    List<String> findSportsById(Integer id);

    List<Sports> findAllSports(Integer id);


    List<Integer> findSportsIdsByOrderId(Integer id);

    void deleteById(Integer id);

    void edit(Sports sports);

}
